package com.neu.dao;

import com.neu.vo.ShoppingOrder;
import com.neu.vo.ShoppingOrderGoods;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yinjian by 2019/11/25
 * 订单管理 尹健
 */
@Repository
public interface ShoppingOrderMapper {
    //获取订单列表信息
    List<ShoppingOrder> selectByExample(ShoppingOrder shoppingOrder);

    //查看商品订单详情
    ShoppingOrderGoods selectByPrimaryKey(ShoppingOrderGoods shoppingOrderGoods);

    //查看订单详情
    ShoppingOrder selectByExample1(ShoppingOrderGoods shoppingOrderGoods);

    //订单发货
    int updateWithOptimisticLocker(ShoppingOrder shoppingOrder);

    //订单退款
    int updateByExample(ShoppingOrder shoppingOrder);
}
